#pragma once

#include <hash_map>

class ResourceManager;
class Texture;

class TextureManager
{
public:
	TextureManager( ResourceManager * resourceManager );
	~TextureManager();

	void	Init();
	void	UnInit();

	Texture *	CreateTexture( const char* resID, BOOL mipGenerate = TRUE );
	void		ReleaseTexture( const char* resID );

private:
	ResourceManager * m_owner;

private:
	stdext::hash_map< std::string, Texture* > m_hmapTexture;
};